<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="eni-US">
<head>
	<title>u4c.in - A simple URL shortner based on mini-aster</title>
	<link rel="shortcut icon" href="/images/favicon.ico" type="image/x-icon" />
	<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
	<meta name="language" content="en-US" />
	<meta name="author" content="ajitabh pandey" />
	<meta name="keywords" content="u4c.in. mini-aster, simple, url shortener, codeigniter" />
	<meta name="description" content="u4c.in, a simple url shortener based on mini-aster" />
 	<link rel="stylesheet" type="text/css" href="http://yui.yahooapis.com/2.8.2r1/build/reset-fonts-grids/reset-fonts-grids.css" />
	<link rel="stylesheet" type="text/css" href="http://yui.yahooapis.com/2.8.2r1/build/base/base-min.css" />
	<link rel="stylesheet" type="text/css" href="/css/u4cin_default.css" />
</head>
<body>
	<!-- the id on the containing div determines the page width. -->
	<!-- #doc = 750px; #doc2 = 950px; #doc3 = 100%; #doc4 = 974px -->
	<div id="doc">					
		<div id="hd">
			<h1>u4c.in</h1>
		</div>

		<div id="bd">
			<p class="stats"><?php echo "Performed " . $num_redirects. " redirects to ". $num_urls. " urls.";?></p>
				<?php
				        //echo validation_errors();
				        echo form_open('encode');
				        echo form_fieldset('Shorten your URL');
						if($this->session->flashdata('message')) {
							echo $this->session->flashdata('message');
						}
						echo form_error('tf_inurl');
						echo form_label('long url', 'tf_inurl', array('id'=>'lbl_url'));
						echo form_input(array('name'=>'tf_inurl', 'id'=>'tf_inurl', 'value'=>set_value('tf_inurl')));
						echo form_error('tf_keyword');
						echo form_label('optional keyword', 'tf_keyword', array('id'=>'lbl_keyword'));
						echo form_input(array('name'=>'tf_keyword', 'id'=>'tf_keyword', 'value'=>set_value('tf_keyword')));
				?>
						<p>(leave this field blank to auto-generate a keyword.)</p>
				<?php
						echo form_submit(array('id'=>'sb_shorten', 'value'=>'Shorten', 'class'=>'submit'));
						echo form_fieldset_close();
						echo form_close();
				?>
		</div>
		<div id="ft">
			<p>Copyright &copy; 2010 <a href="http://ajitabhpandey.info/">Ajitabh Pandey</a> | Powered by <a href="http://mini-aster.googlecode.com/"><img src="/images/mini-aster_icon.png" alt="mini-aster logo" /></a></p>
			<p><a href="http://validator.w3.org/check?uri=referer"><img src="http://www.w3.org/Icons/valid-xhtml10" alt="Valid XHTML 1.0 Strict" height="20" width="65" /></a> </p>
			<p>Page rendered in {elapsed_time} seconds and used {memory_usage} memory.</p>
		</div>
	</div>

</body>
</html>
